#{extends 'Profile/profile.html' /}
#{set selected:'password' /}

#{set mainId:'main-two-columns-left' /}

<div class="right" id="main-content">
    <form method="post" action="@{Profile.changePwd(currentUser?.id)}">
    <p>
        #{field 'password'}
        <label for="${field.name}">Current password: </label><br />
        <input class="text" type="text" id="${field.name}" name="${field.name}" />
        #{/field}
    </p>
    <p>
        #{field 'newPassword'}
        <label for="${field.name}">New password: </label><br />
        <input class="text" type="text" id="${field.name}" name="${field.name}" />
        #{/field}
    </p>    
    <p>
        #{field 'repeatNewPassword'}
        <label for="${field.name}">Repeat new password: </label><br />
        <input class="text" type="text" id="${field.name}" name="${field.name}" />
        #{/field}
    </p>       
    <p>
        <input class="button" type="submit" value="Save" />
        &nbsp&nbsp&nbsp;
        <input class="button" type="reset" value="Reset" />
    </p> 
    </form>
</div>
<div class="clearer">&nbsp;</div> 